package com.doraro.coal.moudle.purch.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.doraro.coal.moudle.purch.enums.ExecStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author doraro
 * @since 2019-10-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_purch_exec")
@ApiModel(value="PurchExec对象", description="")
public class PurchExec implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "申请单uuid")
    private String purchApplyId;

    @ApiModelProperty(value = "下达日期")
    private LocalDate releaseTime;

    @ApiModelProperty(value = "执行状态(0- 已下达 1-已提交 2-已发布 3-已作废)")
    private ExecStatus execStatus;


}
